﻿using Coolzon.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coolzon.UI.Common.Widgets
{
    public class DataBindingArgs
    {
        public DataBindingReason Reason;
        public DataResult DataResult;

        public DataBindingArgs(DataBindingReason reason, DataResult result)
        {
            Reason = reason;
            DataResult = result;
        }
    }

    public enum DataBindingReason
    {
        Active,
        Refresh
    }
}
